package com.drugmanage.service;

import com.drugmanage.entity.Role;
import com.drugmanage.query.RoleQuery;

import java.util.List;
import java.util.Map;

public interface IRoleService {
    Map<String,Object> queryForPage(RoleQuery roleQuery);

    void saveRole(Role role);

    void updateRole(Role role);

    void deleteRoles(Integer ids);

    void addGrant(Integer roleId, Integer[] moduleIds);

    List<Role> queryAllRoles();
}
